Let 'about' version track main GPSBabel version.
authorrobertl <robertl>
Mon, 7 Sep 2009 18:47:55 +0000 (18:47 +0000)
committerrobertl <robertl>
Mon, 7 Sep 2009 18:47:55 +0000 (18:47 +0000)
gui/mainwindow.cpp

index cf6d3254132124a5829f3ca4677be3f892bcad88..c56e60a4a2966bf0f0f92f3994b807fa5fbf9097 100644 (file)
@@ -1,5 +1,5 @@
 // -*- C++ -*-
-// $Id: mainwindow.cpp,v 1.7 2009/09/02 19:05:27 robertl Exp $
+// $Id: mainwindow.cpp,v 1.8 2009/09/07 18:47:55 robertl Exp $
 //------------------------------------------------------------------------
 //
 //  Copyright (C) 2009  S. Khai Mong <khai@mangrai.com>.
@@ -38,6 +38,7 @@
 #include "formatload.h"
 #include "gmapdlg.h"
 #include "upgrade.h"
+#include "../gbversion.h"
 
 const int BabelData::noType = -1;
 const int BabelData::fileType = 0;
@@ -900,7 +901,7 @@ void MainWindow::moreOptionButtonClicked()
 //------------------------------------------------------------------------
 void MainWindow::aboutActionX()
 {
-  AboutDlg aboutDlg(0, babelVersion, QString(appName) + " Version 0.11");
+  AboutDlg aboutDlg(0, babelVersion, QString(appName) + QString(" " VERSION));
   aboutDlg.setWindowTitle(tr("About %1").arg(appName));
   aboutDlg.exec();
 }